﻿<catel:Page x:Class="Catel.Examples.SL4.NavigationApplication.About" 
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
            xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
            xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
            xmlns:catel="http://catel.codeplex.com" mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"
            Title="About" Style="{StaticResource PageStyle}">

    <Grid x:Name="LayoutRoot">
        <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">

            <StackPanel x:Name="ContentStackPanel">

                <TextBlock x:Name="HeaderText" Style="{StaticResource HeaderTextStyle}" 
                           Text="About"/>
                
                <TextBlock x:Name="ContentText" Style="{StaticResource ContentTextStyle}" 
                           Text="About page content"/>

                <TextBlock Style="{StaticResource ContentTextStyle}" Text="{Binding NavigationData}" />
                
                <Button Command="{Binding NavigateToHomeViaViewModel}" Content="Navigate via view model" />
                
            </StackPanel>

        </ScrollViewer>
    </Grid>

</catel:Page>